import MyUpload from './upload.vue'
// 这里是重点
const XUpload = {
    install: function (Vue) {
        Vue.component('XUpload', MyUpload)
    }
}

// 导出组件
export default XUpload